using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint.ApplicationPages;
using Microsoft.SharePoint.Utilities;

namespace CKS.InternetExtranet
{
    public class UserProfilePage : UserDisplayEditPageBase
    {

        protected override void OnPreInit(System.EventArgs e)
        {
            base.OnPreInit(e);

            // use the master page of the current site
            this.MasterPageFile = this.Web.MasterUrl;
        }

        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
            base.LabelTitle.Text = base.UserListForm.ListItem.GetFormattedValue("Title");
        }
    }
} 